package com.graduate.common.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author zfy
 * @since 2021-05-09
 */
public class Orders implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "oid", type = IdType.AUTO)
    private Integer oid;

    private LocalDateTime orderTime;

    private Double orderPrice;

    private String orderStatus;

    private LocalDateTime comeTime;

    private LocalDateTime departureTime;

    private Integer houseId;

    private Integer memberId;

    public Integer getOid() {
        return oid;
    }

    public void setOid(Integer oid) {
        this.oid = oid;
    }
    public LocalDateTime getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(LocalDateTime orderTime) {
        this.orderTime = orderTime;
    }
    public Double getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(Double orderPrice) {
        this.orderPrice = orderPrice;
    }
    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }
    public LocalDateTime getComeTime() {
        return comeTime;
    }

    public void setComeTime(LocalDateTime comeTime) {
        this.comeTime = comeTime;
    }
    public LocalDateTime getDepartureTime() {
        return departureTime;
    }

    public void setDepartureTime(LocalDateTime departureTime) {
        this.departureTime = departureTime;
    }
    public Integer getHouseId() {
        return houseId;
    }

    public void setHouseId(Integer houseId) {
        this.houseId = houseId;
    }
    public Integer getMemberId() {
        return memberId;
    }

    public void setMemberId(Integer memberId) {
        this.memberId = memberId;
    }

    @Override
    public String toString() {
        return "Orders{" +
            "oid=" + oid +
            ", orderTime=" + orderTime +
            ", orderPrice=" + orderPrice +
            ", orderStatus=" + orderStatus +
            ", comeTime=" + comeTime +
            ", departureTime=" + departureTime +
            ", houseId=" + houseId +
            ", memberId=" + memberId +
        "}";
    }
}
